<template>
  <div>
    
     
      <el-menu
        :default-active="$route.path"
        class="el-menu-vertical-demo"
        :collapse="false"
        router
         background-color="#545c64"
         active-text-color="#ffd04b"
         style="width: 200px;"
      >
        <el-submenu index="/">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span slot="title">导航一</span>
          </template>
          <el-menu-item-group>
            <el-menu-item index="/Tree1">第一页</el-menu-item>
            <el-menu-item index="/Tree2">第二页</el-menu-item>
            <el-menu-item index="/Tree3">第三页</el-menu-item>
          </el-menu-item-group>
        </el-submenu>
      </el-menu>
      <el-main>
        <router-view></router-view>
      </el-main>
    
  </div>
</template>
           
<script>
export default {
  name: '',
  data() {
    return {}
  },
  created() {},
  computed: {},
  methods: {},
}
</script>
<style lang='less'  scoped>
</style>